
let availableTimes = 20
let taskStop = false
// $store.set("taskStop",false) 
for (let j = 0; j < availableTimes; j++) {
    setTimeout(axios_skill, j * 1000 + 700, j);
}

function axios_skill(count) {
    // let taskStop = $store.get("taskStop");
    if(count==10){
        console.log(`更新taskStop`);
        // $store.set("taskStop",true) 
        taskStop = true
    }
    if (!taskStop) {
        console.log('' + (count + 1) + `次执行请求：`);
       
    }else{
        console.log(`结束任务`);
    }
}



